package com.example.springdemo.controller;/**
 * @ClassName Word
 * @Description TODO
 * @author Wenyi Luo
 * @date 22/2/25 14:13
 * @version: 1.0
 */

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 @Author WenyiLuo
 @Date 22/2/25 14:13
 **/
@Controller
public class World {

    @RequestMapping("/word")
    public String world(Map<String, Object>map){
        map.put("name","编程帮（www.baidu.com ）");
        return "world";
    }
}
